package io;


import java.io.FileNotFoundException;
import java.io.PrintWriter;

/**
 * 缓冲字符流
 * java.io.BufferedWriter和BufferedReader
 * 内部维护一个8k长度的char数组
 *
 * java.io.PrintWriter是具有
 */
public class PWDemo {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter pw = new PrintWriter("./pw.txt");
        pw.println("欲买桂花同载酒");
        pw.println("阿巴阿巴阿巴");
        System.out.println("写出完毕！");
        pw.close();
    }
}
